package wqh.domain;

/**
 * Created by devts on 2016/9/25.
 */
public class Device {

    private Integer id;
    private String name;
    private Integer ip;
    private Byte status;
    private String description;
    private String phone;

    public Device()
    {

    }

    public Device(Integer ip, Byte status) {
        this.ip = ip;
        this.status = status;
    }

    public Device(String name, Integer ip, String phone) {
        this.name = name;
        this.ip = ip;
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Device{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", ip=" + ip +
                ", status=" + status +
                ", description='" + description + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIp() {
        return ip;
    }

    public void setIp(Integer ip) {
        this.ip = ip;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
